﻿using Linker.TaskCenter.Services;
using Linker.TaskCenter.Tasks.Entity;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;

namespace Linker.TaskCenter.EntityFrameworkCore
{
    [ConnectionStringName("Default")]
    public class TaskCenterDbContext : AbpDbContext<TaskCenterDbContext>
    {
        public TaskCenterDbContext(DbContextOptions<TaskCenterDbContext> options)
            : base(options)
        {
        }

        public DbSet<TaskEntity> Tasks { get; set; }

        public DbSet<ServiceEntity> Services { get; set; }

        protected override void OnModelCreating(ModelBuilder builder)
        {
            base.OnModelCreating(builder);
        }
    }
}